package com_github_lib_base.ext

import com.shudong.lib_base.ext.appContext

fun Int.colorValue(): Int = appContext.resources.getColor(this, null)
fun Int.dimenValue(): Int = appContext.resources.getDimensionPixelSize(this)
fun Int.stringValue(): String = appContext.resources.getString(this)
fun Int.stringValueWithFormat(vararg args: Any?): String = appContext.resources.getString(this, *args)

